package cz.kfad.ofrss.activity;

import android.os.Bundle;
import android.preference.PreferenceActivity;
import cz.kfad.ofrss.R;
import cz.kfad.ofrss.common.ApplicationContext;

public class OFRSSPreferenceActivity extends PreferenceActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        addPreferencesFromResource(R.xml.preferences);

    }

    @Override
    protected void onResume() {
        super.onResume();
        ApplicationContext appState = ((ApplicationContext) getApplicationContext());
        appState.setContextToAsynTasks(this);
    }

}